package cn.cnsy123.blog.application.service;

import cn.cnsy123.blog.application.http.request.UserLoginRequest;
import cn.cnsy123.blog.application.http.request.UserRegisterRequest;
import cn.cnsy123.blog.application.http.response.UserLoginResponse;
import cn.cnsy123.blog.application.http.response.UserRegisterResponse;

/**
 * @author yangpengfei
 * @description 用户信息
 * @date 2019-10-15 16-05-29
 */
public interface UserInfoService {

    /**
     * 用户注册
     * @param request
     * @return
     */
    UserRegisterResponse saveUserInfo(UserRegisterRequest request);

    /**
     * 用户登录
     * @param request
     * @return
     */
    UserLoginResponse loginCore(UserLoginRequest request);
}
